home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
vol_300
/
328_02
/
wmsflush.c
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
C/C++ Source or Header
|
1991-03-24
|
330 b
|
19 lines
/* WMSFLUSH.C - flush mouse of keys held down.
*/
#include "wsys.h"
#define ANY_PRESS (WMS_LEFT_PRS | WMS_RIGHT_PRS | WMS_CENTER_PRS)
void wmouse_flush (void)
{
do
{
wmouse.wms_internal =0;
wmouse_location ();
}
while ( 0 != (wmouse.wms_used && ANY_PRESS) );
return; /* wmouse_flush() */
}